﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Cashier.UC
{
    public partial class ucSystemTime : UserControl
    {
        public ucSystemTime()
        {
            InitializeComponent();
            timeUpdater.Start();
        }

        private void timeUpdater_Tick(object sender, EventArgs e)
        {
            lbSystemTime.Text = String.Format("System Time: {0:d/M/yyyy HH:mm:ss}", DateTime.Now);
        }
    }
}
